.tenders{
    .search-box{
        display: flex;
        .btn-box{
            margin-left: 30px;
        }
    }
    
    

    
}


.tenders.create{
    .layui-form-label{
        width: 120px;
    }
    .layui-input-block{
        margin-left: 140px;
    }
    
    .layoutLR{
        flex-wrap: wrap;
        >div{
            &:nth-child(1){
                width: 50%;
                border-right: 1px solid #EDF2F7;
                margin-right: 40px;
                padding-right: 40px;
            }
    
        }
    }

    
    .right{
        flex: 1;
            width: 50%;
        .module{
            
            min-height: 536px;
            border-radius: 20px;
            border: 1px solid #EDF2F7;
            overflow: hidden;
            padding: 30px;
    
            &.empty{
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: #EDF2F7;
            }
        }
    }
    

    .layui-btn-center{
        width: 100%;
    }
    
}


.template-list{
    margin-bottom: 24px;
    h2{
        font-size: 26px;
        margin: 35px 0;
        text-align: center;
    }
    ul{
        display: grid;
        grid-template-columns: repeat(auto-fill, 330px);
        grid-gap: 24px;
        justify-content: space-between;
        li{
            height: 462px;
            background: #FFFFFF;
            box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.05);
            border-radius: 16px 16px 16px 16px;
            border: 2px solid #ECF1F6;
            overflow: hidden;
            .title{
                height: 64px;
                line-height: 64px;
                background: #2B3A82;
                padding: 0 28px;
                display: flex;
                justify-content: space-between;
                span{
                    font-size: 16px;
                    color: #fff;
                    &:nth-child(1){
                        .iconfont{
                            font-size: 22px;
                        }
                    }
                }
            }

            .info{
                padding: 32px 0;
                div{
                    display: flex;
                    padding: 0 32px;
                    line-height: 34px;
                    font-size: 16px;
                    span{
                        &:nth-child(1){
                            width: 80px;
                            text-align: right;
                        }
                        &:nth-child(2){
                            color: #999;
                            width: calc(100% - 80px);
                            text-overflow :ellipsis; /*让截断的文字显示为点点。还有一个值是clip意截断不显示点点*/
                            white-space :nowrap; /*让文字不换行*/
                            overflow : hidden; /*超出要隐藏*/
                        }
                    }
                }
            }

            .btn{
                text-align: center;
                margin-top: 50px;
            }
        }
    }

    &.hasCheckbox{
        li{
            height: auto;
            position: relative;
        }
        .checkbox{
            position: absolute;
            right: 16px;
            bottom: 16px;
        }
    }
}

.write-file{

    .tenders-head{
        display: flex;
        flex-direction: column;
        .page-title{
            margin: 0 32px;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #EDF2F7;
            height: 75px;
            align-items: center;
        }

        .tenders-info{
            margin: 10px 32px 0;
            .title{
                line-height: 52px;
            }
            >.layui-row{
                position: relative;
                &::before{
                    width: 1px;
                    height: calc( 100% - 40px);
                    background-color: #EDF2F7;
                    left: 50%;
                    position: absolute;
                    top: 20px;
                }
            }
            .cell{
                height: 36px;
                background: #F6F6F6;
                border-radius: 10px 10px 10px 10px;
                opacity: 1;
                border: 2px solid #ECF1F6;
                font-size: 16px;
                padding: 4px 12px;
                line-height: 24px;
                margin-bottom: 14px;
                overflow: auto;
                &:last-of-type{
                    margin-bottom: 0;
                }

                &.big{
                    height: 86px;
                }
            }
        }

        .collapseBtn{margin-top: 0;}
    }



    .tenders-main{
        margin-top: 32px;
        display: flex;
        >div{
            .title{
                text-align: center;
                line-height: 60px;
            }
            &:nth-child(2){
                width: 320px;
                height: calc(100vh - 520px);
                overflow: auto;
                flex: none;
            }
            &:nth-child(1){
                .layui-tree-set-active > .layui-tree-entry{
                    background: #D0F1FF;
                    border-radius: 5px 
                }
            }
            &:nth-child(1){
                flex: 1;
                margin: 0 15px 25px;

                .laypage{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    .info{
                        i{font-style: normal}
                        span+span{
                            margin-left: 16px;
                        }
                    }
                }

                .file{
                    text-align: center;
                    height: calc(100vh - 652px);
                    overflow: auto;

                    .border{
                        border-radius: 5px;
                        border: 2px dashed #01A2E4;
                    }

                    .pages{
                        position: relative;
                        margin: 0 auto;
                        width: 595px;
                        height: 842px;
                        .img{
                            img{
                                width: 595px;
                                height: 842px;
                            }
                        }
                        .el{
                            position: absolute;
                            z-index: 5;
                            font-size: 14px;
                            cursor: pointer;
                            line-height: 34px;
                            border-radius: 5px;
                            display: inline-block;
                            text-align: center;
                            background-color: #fff;
                        }
                    }
                    .mark{
                        width: 180px;
                        height: 34px;
                        line-height: 34px;
                        border-radius: 5px;
                        display: inline-block;
                        text-align: center;
                    }

                    .projectName{
                        height: 54px;
                        line-height: 54px;
                        padding: 0 8px;
                        border-radius: 10px;
                        display: inline-block;
                        margin-top: 60px;
                    }
                    .fileName{
                        margin-top: 32px;
                        font-size: 36px;
                    }

                    .article{
                        width: 500px;
                        margin: 160px auto 70px;
                        text-align: left;
                        >div{
                            margin-bottom: 19px;
                            span:nth-child(1){
                                width: 100px;
                                line-height: 34px;
                                display: inline-block;
                            }
                        }
                    }
                }
            }

            &:nth-child(2){
                .item-title{
                    line-height: 26px;
                    background: #2A2E41;
                    border-radius: 5px 5px 5px 5px;
                    color: #fff;
                    font-size: 16px;
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 8px;
                    padding: 12px  18px;
                    span{
                        &:nth-child(2){
                            font-size: 14px;
                            min-width: 100px;
                            i{font-style: normal}
                        }
                    }
                }
                .layui-btn-box{
                    text-align: right; 
                    margin: 16px 0;
                }

                .item-text{
                    >div{
                        padding: 10px;
                        line-height: 22px;
                        background: #F6F6F6;
                        border-radius: 5px 5px 5px 5px;
                        border: 1px solid #ECF1F6;
                        font-size: 14px;
                        margin-bottom: 8px;
                        &:nth-child(1){
                            display: flex;
                            justify-content: space-between;
                            >span:nth-child(2){
                                &::before{
                                    height: 16px;
                                   background-color: #1F2C37;
                                   width: 1px;
                                   content: '';
                                   display: inline-block;
                                   margin-right: 18px;
                                   vertical-align: middle;
                                }
                            }
                        }
                    }
                }
            }
            

            

        }
    }
}